-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(package.json): reorder 'test' scripts to run 'lint' before 'format' #3019
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Open in Stackblitz • demo • starter
commit: |
I actually didn't notice when I reviewed #2997, but it seems to run scripts in parallel. https://pnpm.io/9.x/cli/run#running-multiple-scripts How did #2997 solve it? |
Because we agree with |
Isn't it like if eslint is slow, prettier finishes before eslint? |
When I tested it, it executed sequentially. https://pnpm.io/9.x/cli/run#running-multiple-scripts
In my opinion, although it is said to run simultaneously, it seems that the execution starts at the same time, but the actual execution happens sequentially.” |
When I run
|
@dai-shi I think I misunderstood. You’re right. In that case, the purpose of this PR would be to align with the format. |
In |
@dai-shi Do you mean that if I don’t modify it as suggested, there is a potential for conflicts, but since it hasn’t happened yet, it’s fine to leave it as is for now? |
It feels to me that making it sequential is less consistent. In either case without it, there can be a conflict, but it's expected and it feels very rare (so, yes, unless someone complains it, we can leave it). I'm fine to revert #2997 now for consistency, but since you said it works for your case, leaving it is okay too. Hmm, but wait, can you clarify why #2997 fixes your case? |
it was my misunderstood result
So i wanna fix my misunderstood result like that in this PR |
Okay, then, feel free to send new PRs for sequential execution. I'm not so strongly against it anyway. |
Summary
fix
Check List
pnpm run fix
for formatting and linting code and docs